<template>
  <a-modal
    :title="title"
    :width="width"
    :visible="visible"
    :confirmLoading="confirmLoading"
    :footer="null"
    @cancel="handleCancel"
    cancelText="关闭">
    <div>
      <div class="rowsDetail">
      <a-row>
        <a-col :span="3"  class="title">板卡原材料批次号:</a-col>
        <a-col :span="5" >{{record.boardRawNo}}</a-col>
        <a-col :span="3" class="title">原材料类型：</a-col>
        <a-col :span="5">
          {{record.rawMatType}}
        </a-col>
        <a-col :span="3" class="title">物料编码</a-col>
        <a-col :span="5" >{{record.materialNo}}</a-col>
      </a-row>
      </div>

      <div class="rowsDetail">
      <a-row>
        <a-col :span="3" class="title">物料描述:</a-col>
        <a-col :span="5">{{record.materialDesc}}</a-col>
        <a-col :span="3" class="title">检验日期:</a-col>
        <a-col :span="5">{{record.checkTime}}</a-col>
        <a-col :span="3" class="title">序号:</a-col>
        <a-col :span="5">{{record.serialNo}}</a-col>
      </a-row>
      </div>

      <div class="rowsDetail">
      <a-row>
        <a-col :span="3" class="title">销售订单号:</a-col>
        <a-col :span="5">{{record.relOpeMinRes}}</a-col>
        <a-col :span="3" class="title">厂家物料编码:</a-col>
        <a-col :span="5">{{record.relOpeMaxRes}}</a-col>
        <a-col :span="3" class="title">最小值:</a-col>
        <a-col :span="5">{{record.returnMinRes}}</a-col>
      </a-row>
        </div>
      <div class="rowsDetail">
      <a-row>
        <a-col :span="3" class="title">最大值:</a-col>
        <a-col :span="5">{{record.returnMaxRes}}</a-col>
        <a-col :span="3" class="title">供应商编码:</a-col>
        <a-col :span="5">{{record.supplierCode}}</a-col>
        <a-col :span="3" class="title">标记:</a-col>
        <a-col :span="5">{{record.ioflag}}</a-col>
      </a-row>
        </div>
      <div class="rowsDetail">
      <a-row>
        <a-col :span="3" :style="detailTitle">检测时间:</a-col>
        <a-col :span="5">{{record.updateTime}}</a-col>
        <a-col :span="3" class="title">厂家物料描述:</a-col>
        <a-col :span="5">厂家物料描述</a-col>
      </a-row>
          </div>

    <div style="text-align: center;margin-top: 10px"><a-button type="primary" @click="()=>this.visible = false">关闭</a-button></div>
      </div>
  </a-modal>
</template>

<script>

  import { httpAction } from '@/api/manage'
  import ARow from 'ant-design-vue/es/grid/Row'
  export default {
    name: "ZxjEip2cJdqModal",
    components: {
      ARow
    },
    data () {
      return {
        current: 0,
        title: "操作",
        width: 1000,
        visible: false,
        confirmLoading: false,
        model: {},
        url: {}
      }
      },
    created () {
    },
    methods: {
      addModal (record) {
        this.record=record;
        this.visible = true;
        // this.header.backgroundColor="#111099"
      },
    handleCancel () {
      this.close()
    },
  }
  }
</script>